package com.test.demo11;
//Dog类继承动物
public class Dog extends Animals {
    public void eat(){
        System.out.println("狗要吃肉");
    }
}
